package com.yipao.db.service;


import com.yipao.db.dao.WxPayConfigMapper;
import com.yipao.db.domain.WxPayConfigModel;
import com.yipao.db.service.api.IWxBaseConfigService;

import javax.annotation.Resource;

/**
 * 微信配置类
 * @author tianhao
 */
public class WxConfigService implements IWxBaseConfigService {

    @Resource
    private WxPayConfigMapper wxPayConfigMapper;

    @Override
    public WxPayConfigModel getWxPayConfig(String mchId) {
        return wxPayConfigMapper.getWxPayConfigByMchId(mchId);
    }
}
